<div style='color:#212529;' class="mydoc">
    @if ($resource->doc->content === null)
        <div class="div_null">
            暂无内容-请耐心等待XiaoMing添加
        </div>
    @endif
    {!!$resource->doc->content!!}
</div>